<?php

namespace App\Modules\LuckDraw\Exp;

interface ExpInterface {
    public function getId():?int;
    public function getEnName():?string;
    public function getName():?string;
    public function addExpNum(int $num = 0, ?int $userId = null,  ?int $roomId = null): bool;
    public function getExpNum(?int $userId = null, ?int $roomId = null): int;
    public function enough(?int $need = null, ?int $userId = null, ?int $roomId= null): bool;
}